package com.ljf.task.dto.command;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.validation.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 任务明细--状态修改  task_dat_task_detail
 *
 * @author LJF
 * @since 2025-07-30
 */
@Data
@ApiModel("任务明细--状态修改")
public class TaskDatTaskDetailStatusCommand implements Serializable {

    @JsonProperty("id")
    @ApiModelProperty(value = "ID")
    @NotNull(message = "ID不能为空", groups = UpdateGroup.class)
    private Long id;

    @JsonProperty("detailStatus")
    @ApiModelProperty(value = "明细状态")
    @NotNull(message = "明细状态不能为空", groups = UpdateGroup.class)
    private Integer detailStatus;

}
